package cn.fws.meap.user.enums;

/**
 * 记录类型
 */
public enum AccountRecordTypeEnums {
    PROBLEM_CONSUMPTION("0","问题赏金"),ANSWER_CONSUMPTION("1","回答赏金");


    private final String code;
    private final String name;

    AccountRecordTypeEnums(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "AccountRecordTypeEnums{" +
                "code='" + code + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
